<?php
use \yii\widgets\ActiveForm;
$this->title = '重置密码';
$this->params['breadcrumbs'][] = ['label'=>'文章','url'=>'/site/index'];
$this->params['breadcrumbs'][] = $this->title;
//var_dump($model);die;
?>

<div class="row">
    <div class="col-lg-9">
        <div class="panel-title box-title">
            <span>重置密码</span>
        </div>
        <div class="panel-body">
            <?php $form = ActiveForm::begin();?>
                <?= \yii\helpers\Html::activeHiddenInput($model,'id') ?>
                <?= $form->field($model,'password_hash')->textInput(['maxlength'=>true]);?>


            <div class="form-group">
                <?=\yii\helpers\Html::submitButton('编辑',['class'=>'btn btn-success'])?>
            </div>
            <?php ActiveForm::end();?>
        </div>
    </div>
    <div class="col-lg-3">
        <div class="panel-title box-title">
            <span>注意事项</span>
        </div>
        <div class="panel-body">
            <p>1.重置密码长度最小为6位；</p>
            <p>2.重置密码成功后请重新登录</p>
        </div>
    </div>


</div>
